Server Error in '/' Application.

parsing "&height=1200&mode=max&upscale=false%22)" - Too many )'s.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentException: parsing "&height=1200&mode=max&upscale=false%22)" - Too many )'s.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[ArgumentException: parsing "&height=1200&mode=max&upscale=false%22)" - Too many )'s.]
   System.Text.RegularExpressions.RegexParser.ScanRegex() +1957
   System.Text.RegularExpressions.RegexParser.Parse(String re, RegexOptions op) +146
   System.Text.RegularExpressions.Regex..ctor(String pattern, RegexOptions options, TimeSpan matchTimeout, Boolean useCache) +460
   System.Text.RegularExpressions.Regex.Replace(String input, String pattern, String replacement, RegexOptions options) +95
   ImageProcessor.Web.HttpModules.<ProcessImageAsync>d__31.MoveNext() +898
   System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +32
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +62
   System.Web.TaskAsyncHelper.EndTask(IAsyncResult ar) +65
   System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +417
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4718.0